Skip to content

London | 26-ITP-May | Yonatan Teklemariam | Sprint 3 | Implement and re-write tests#1381

Open
Yonatanteklemariam wants to merge 7 commits into
CodeYourFuture:mainfrom
Yonatanteklemariam:coursework/Sprint-3
Open

London | 26-ITP-May | Yonatan Teklemariam | Sprint 3 | Implement and re-write tests#1381
Yonatanteklemariam wants to merge 7 commits into
CodeYourFuture:mainfrom
Yonatanteklemariam:coursework/Sprint-3

Conversation

@Yonatanteklemariam

Copy link
Copy Markdown

Learners, PR Template

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Defined a new function based on the instruction and wrote tests to verify the output matches the expected target output.

Questions

@Yonatanteklemariam Yonatanteklemariam added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Complete Volunteer to add when work is complete and all review comments have been addressed. labels Jun 22, 2026
@Yonatanteklemariam Yonatanteklemariam added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label Jun 27, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good.

Can you revert the changes made in the 2-practice-tdd folder? I think they belong to a separate PR.

Comment thread Sprint-3/1-implement-and-rewrite-tests/implement/2-is-proper-fraction.js Outdated
@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jun 27, 2026
@github-actions

This comment has been minimized.

1 similar comment
@github-actions

This comment has been minimized.

@Yonatanteklemariam

Copy link
Copy Markdown
Author

Code looks good.

Can you revert the changes made in the 2-practice-tdd folder? I think they belong to a separate PR.

yes, I've removed the tdd folder from the changed files and fixed it.

Remove check for zero numerator in isProperFraction function.
@Yonatanteklemariam Yonatanteklemariam added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jun 28, 2026

@cjyuan cjyuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you rerun the test scripts after you made changes? It's a good practice to run the test scripts before making a commit or pushing the commits to GitHub.

Comment on lines +17 to +19
if (Number.isNaN(numerator) || Number.isNaN(denominator)) {
return false;
}

@cjyuan cjyuan Jun 28, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: A stronger check might be !Number.isFinite() (or !Number.isInteger() if you only allow integer numerator and denominator).

No change needed.

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jun 28, 2026
@Yonatanteklemariam Yonatanteklemariam added Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels Jun 29, 2026
@cjyuan

cjyuan commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

I don't see any new commits on this branch. Have you made any change to address this comment: #1381 (review) ?

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed Volunteer to add when completing a review with trainee action still to take.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants